package app.system.mapper;

import app.system.entity.UserMusicList;

import java.util.List;

public interface UserMusicListMapper {

    /**
     * 增加用户和歌单关联
     * @param userMusicList
     * @return
     */
    int saveUserMusicList(UserMusicList userMusicList);

    /**
     * 查询关联
     * @param userMusicList
     * @return
     */
    List<UserMusicList> selectUserMusicList(UserMusicList userMusicList);

    /**
     * 删除关联
     * @param userMusicList
     * @return
     */
    int deleteUserMusicList(UserMusicList userMusicList);

    int selectUserMusicListCount(UserMusicList userMusicList);
}
